package com.lucher.tangstore.dao;

import com.lucher.tangstore.po.Depotrackinfo;

import java.util.ArrayList;
import java.util.List;

public interface DepotrackinfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Depotrackinfo record);

    int insertSelective(Depotrackinfo record);

    Depotrackinfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Depotrackinfo record);

    int updateByPrimaryKey(Depotrackinfo record);
    
    //自定义接口
    List<Depotrackinfo> findByList(Depotrackinfo record);
    List<Depotrackinfo> findByListForPage(Depotrackinfo record);
    int findByCount(Depotrackinfo record);
    int deleteByDepotrackcode(String depotrackcode);
	public Integer saveBatch(ArrayList<Depotrackinfo> records);
}